<html>
	<head>
		<title>Domain</title>
		<script language="javaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js">
		</script>
		<script src='{{ static_url("scripts/global.js") }}' type="text/javascript"></script>	
		<script src='{{ static_url("scripts/user.js") }}' type="text/javascript"></script>		
	</head>
	
	<body>
		<h2>Domain Infomation</h2>
		<div>
			<ul id="domainlist">
			{% for entry in entries %}
			<li>
			<label>Username:</label>
			<label class="domain">
			{{escape(entry["username"])}}
			</label>
			<label>Userpass:</label>
			<label>
			{{escape(entry["userpass"])}}
			</label>
			</li>
			{% end%}
			</ul>
		</div>
		
		<h2>Add an user</h2>
		<form id="messageform" method="post" action="/user">
			<label>username:</label>
			<input type="text" value="" id="username" name="username" />
			<label>userpass:</label>
			<input type="text" value="" id="userpass" name="userpass" />
			<input type="submit" id="btEnter" name="btenter" value="Add" />
			{{ xsrf_form_html() }}
		</form>
	</body>
</html>
